package com.sqx.modules.postPush.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sqx.common.utils.Result;
import com.sqx.modules.postPush.entity.PostPush;
import com.sqx.modules.resumes.vo.CityVo;
import com.sqx.modules.resumes.vo.LetterCity;
import com.sqx.modules.postPush.vo.PostPushVo;

import java.util.HashMap;
import java.util.List;

public interface PostPushService extends IService<PostPush> {

    Result savePostPush(PostPush postPush);


    Result deletePostPush(Long userId, Long postPushId);

    Result auditPostPush(Long postPushId, String content, Integer status);


    PostPushVo selectPostPushDetails(Long postPushId, Long loginUserId);




    IPage<PostPushVo> getPostPushList(Integer page, Integer limit, PostPushVo postPushVo, String startTime, String endTime);

    List<LetterCity> getCityList(String city);

    List<String> getCountyByCity(String city);

    List<String> getHotCity(Integer limitCount);

    List<CityVo> getCityCounty();



    IPage<PostPushVo> getAppPostPushList(Integer page, Integer limit, Long loginUserId,PostPushVo postPushVo);


    Result banPostPush(Long postPushId, String examineContent);

    String getPoshPushPhone(Long postPushId);

    Result updateStatus(Long postPushId);

    HashMap<String,Object> getPostPushData(String time, String flag);
}
